5.3
MEDIUM CVSS 3.1
CVE-2026-29790
dbt-common: commonprefix() doesn't protect against path traversal
Description

dbt-common is the shared common utilities for dbt-core and adapter implementations use. Prior to versions 1.34.2 and 1.37.3, a path traversal vulnerability exists in dbt-common's safe_extract() function used when extracting tarball archives. The function uses os.path.commonprefix() to validate that extracted files remain within the intended destination directory. However, commonprefix() compares paths character-by-character rather than by path components, allowing a malicious tarball to write files to sibling directories with matching name prefixes. This issue has been patched in versions 1.34.2 and 1.37.3.

INFO

Published Date :

March 6, 2026, 9:16 p.m.

Last Modified :

March 13, 2026, 6:31 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-29790 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Getdbt dbt-common
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
CVSS 4.0 LOW [email protected]
Solution
Update dbt-common to version 1.34.2 or 1.37.3 to fix path traversal.
  • Update dbt-common to version 1.34.2 or later.
  • Update dbt-common to version 1.37.3 or later.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-29790.

URL Resource
https://github.com/dbt-labs/dbt-common/commit/e547954a48bac9394ef6eb98432e429dce9a7709 Patch
https://github.com/dbt-labs/dbt-common/security/advisories/GHSA-w75w-9qv4-j5xj Mitigation Vendor Advisory
https://github.com/pypa/pip/pull/13777 Issue Tracking
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-29790 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-29790 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-29790 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Mar. 13, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
    Added CPE Configuration OR *cpe:2.3:a:getdbt:dbt-common:*:*:*:*:*:*:*:* versions up to (excluding) 1.34.2 *cpe:2.3:a:getdbt:dbt-common:*:*:*:*:*:*:*:* versions from (including) 1.35.0 up to (excluding) 1.37.3
    Added Reference Type GitHub, Inc.: https://github.com/dbt-labs/dbt-common/commit/e547954a48bac9394ef6eb98432e429dce9a7709 Types: Patch
    Added Reference Type GitHub, Inc.: https://github.com/dbt-labs/dbt-common/security/advisories/GHSA-w75w-9qv4-j5xj Types: Mitigation, Vendor Advisory
    Added Reference Type GitHub, Inc.: https://github.com/pypa/pip/pull/13777 Types: Issue Tracking
  • New CVE Received by [email protected]

    Mar. 06, 2026

    Action Type Old Value New Value
    Added Description dbt-common is the shared common utilities for dbt-core and adapter implementations use. Prior to versions 1.34.2 and 1.37.3, a path traversal vulnerability exists in dbt-common's safe_extract() function used when extracting tarball archives. The function uses os.path.commonprefix() to validate that extracted files remain within the intended destination directory. However, commonprefix() compares paths character-by-character rather than by path components, allowing a malicious tarball to write files to sibling directories with matching name prefixes. This issue has been patched in versions 1.34.2 and 1.37.3.
    Added CVSS V4.0 AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CWE CWE-22
    Added Reference https://github.com/dbt-labs/dbt-common/commit/e547954a48bac9394ef6eb98432e429dce9a7709
    Added Reference https://github.com/dbt-labs/dbt-common/security/advisories/GHSA-w75w-9qv4-j5xj
    Added Reference https://github.com/pypa/pip/pull/13777
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.